package com.example.test.factory.method.factory;

import com.example.test.factory.simpleFactory.AliPay;
import com.example.test.factory.method.PayFactory;
import com.example.test.factory.simpleFactory.Pay;

/**
 * @author 晓果冻
 * @version 1.0
 * @date 2021/11/2 21:45
 */
public class AliPayFactory implements PayFactory {

    @Override
    public Pay getPay() {
        return new AliPay();
    }
}
